class xG_GFx_MissionWindow extends x_GFx_Menu;

//=============================================================================
// Functions: General
//=============================================================================
var private int                                     MI_Width, MI_Height;

//=============================================================================
// Functions: General
//=============================================================================
function SetScreenPosition(int x, int y)
{
	SetViewport(x,y,MI_Width,MI_Height);
}

//=============================================================================
// Functions: ActionScript functions calls
//=============================================================================
function AddNewEvent(String aNewEvent)
{
     ActionScriptVoid("AddNewEvent");
}

function ClearEventsList()
{	
	ActionScriptVoid("ClearEventsList");			
}

//=============================================================================
// Functions: UnrealScript functions calls from ActionScript
//=============================================================================
function StartMission()
{
	local string lMapName;
	lMapName = xG_GameInfo(mGameInfo).MissionsManager.GetMissionMapName();
	mGameInfo.performServerTravel(lMapName$".udk?game=xLED_TACTICS.xT_GameInfo");
	Close();	
}

//=============================================================================
// Default Properties:
//=============================================================================
DefaultProperties
{
	// The path to the swf asset
	MovieInfo = SwfMovie'xLED_UI.GEO_MissionScreen'

	MI_Width = 450
	MI_Height = 400
}